package com.software;

public class Bird extends Animal{
    public Bird(String name){
        //手动调用父类的带参数的构造方法
        super(name);
    }

    @Override
    public void move(){
        System.out.println(super.getName() + " 在飞翔");
    }
}
